        <script src="{$smarty.const.JS_URL}order.js"></script>
        <style type="text/css">
        {literal}
            table {border:1px solid #dddddd; border-collapse: collapse; width:99%; margin:auto;}
            td {border:1px solid #dddddd;}
            #consignee_addr {width:450px;}
        {/literal}
        </style>
        <div class="block box">
            <div class="blank"></div>
            <div id="ur_here">
                当前位置: <a href="{$smarty.const.__MODULE__}">首页</a> <code>&gt;</code> 购物流程 
            </div>
        </div>
        <div class="blank"></div>
        <div class="blank"></div>
        <div class="block">
            <form class="theForm" action="{$smarty.const.__MODULE__}/Order/checkorder" method="post" name="theForm" id="theForm" ><!-- 选择快递提醒改用ValidForm 弃用自写的onSubmit="return checkshipping();" -->
                <div class="flowBox">
                    <h6><span>商品列表</span><a href="{$smarty.const.__MODULE__}/Cart/index" class="f6">修改</a></h6>
                    <table cellpadding="5" cellspacing="1" width="99%">
                        <tbody><tr>
                                <th>名称</th>
                                <th>单价</th>
                                <th>数量</th>
                                <th>小计</th>
                            </tr>
                             
							{foreach $goods as $k=>$v}
                            <tr>
                                <td align="center">
                                	<a href="{$smarty.const.__MODULE__}/Goods/detail/goods_id/{$v.goods_id}" target="_blank"><img style="width: 80px; height: 80px;" src="{$smarty.const.IMG_UPLOAD}{$v.goods_small_img}" title="{$v.goods_name}" /></a><br />
                                    <a href="{$smarty.const.__MODULE__}/Goods/detail/goods_id/{$v.goods_id}" target="_blank" class="f6">{$v.goods_name}</a>
                                </td>

                                <td align="center">￥{$v.goods_price}元</td>
                               
                                <td align="center">{$v.number}</td>
                               
                                <td align="center">￥{{$v.goods_price}*{$v.number}}元</td>
                            </tr>
                            <input type="hidden" name="goods_id[]" value="{$v.goods_id}" />
							{/foreach}
                            <tr>
                                <td align="right" colspan="4">合计￥<input type="text" id="allprice" readonly  value="{$allprice}" style="border:0;color:red;width:100px;height: 20px;text-align: left; ime-mode:disabled;" /></td>
                            </tr>
                        </tbody></table>
                </div>
                <div class="blank"></div>
                <div class="flowBox">
                    <h6><span>收货人信息</span><a href="{$smarty.const.__MODULE__}/User/adress" class="f6">修改</a></h6>
                    <table cellpadding="5" cellspacing="1" width="99%">
                        <tbody>
                        	<tr align="center">
                                <td width="10%">收货姓名:</td>
                                <td width="40%">{$infos.name}</td>
                                <td width="10%">电子邮件:</td>
                                <td>{$infos.user_email}</td>
                            </tr>
                            <tr align="center">
                                <td>详细地址:</td>
                                <td>{$infos.adress}</td>
                                <td>邮政编码:</td>
                                <td>{$infos.postcode}</td>
                            </tr>
                            <tr align="center">
                                <td>电话号码:</td>
                                <td>{$infos.telephone}</td>
                                <td>手机号码:</td>
                                <td>{$infos.phone}</td>
                            </tr>
                        </tbody></table>
                </div>
                <div class="blank"></div>
                <div class="flowBox">
                    <h6><span>配送方式</span></h6>
                    <table id="shippingTable" cellpadding="5" cellspacing="1" width="99%">
                        <tbody><tr>
                                <th width="5%"></th>
                                <th width="25%">快递名称</th>
                                <th>快递描述</th>
                                <th width="15%">快递运费</th>
                            </tr>
                            <tr align="center">
                                <td valign="top">
	                                <input datatype="*" nullmsg="请选择快递！" onclick="changeprice()" name="shipping" id="normal" value="12" type="radio" />
	                                <span class="Validform_checktip"></span>
                                </td>
                                <td valign="top"><strong>普通快递</strong></td>
                                <td valign="top">江、浙、沪地区首重为15元/KG，其他地区18元/KG， 续重均为5-6元/KG， 云南地区为8元</td>
                                <td align="right" valign="top">￥12.00元</td>
                           </tr>
                           <tr align="center">
                                <td valign="top">
                                    <input onclick="changeprice()" name="shipping" id="sf" value="20" type="radio" />
                                    <span class="Validform_checktip"></span>
                                </td>
                                <td valign="top"><strong>顺丰速运</strong></td>
                                <td valign="top">江、浙、沪地区首重为15元/KG，其他地区18元/KG， 续重均为5-6元/KG， 云南地区为8元</td>
                                <td align="right" valign="top">￥20.00元</td>
                           </tr>
                        </tbody></table>
                </div>
                <div class="blank"></div>
                <div class="flowBox">
                    <h6><span>支付方式</span></h6>
                    <table id="paymentTable" cellpadding="5" cellspacing="1" width="99%">
                        <tbody><tr>
                                <th width="5%">&nbsp;</th>
                                <th width="20%">名称</th>
                                <th>描述</th>
                            </tr>

                            <tr align="center">
                                <td valign="top"><input checked="checked" name="payment" value="1" iscod="0" type="radio" /></td>
                                <td valign="top"><strong>在线支付</strong></td>
                                <td valign="top">使用在线支付。通过第三方支付平台易宝支付，使用银行卡网银支付，有卡就能付。</td>
                            </tr>

                        </tbody></table>
                </div>
                <div class="blank"></div>
                <div class="flowBox">
                    <h6><span>费用总计</span></h6>
                    <div id="ecs_ordertotal">应付款金额:￥
                        <input readonly  id="totalprice" name="totalprice" type="text" value="{$allprice}" />
                    </div>
					<div class="submitOrder">
                        <input type="submit" value="确认订单"/>
                    </div>
                </div>
                <input type="hidden" name="code" value="{$code}" />
            </form>
        </div>
        
<script type="text/javascript">
$(function(){
	$(".theForm").Validform({
		tiptype:1,
	});
})
</script>